micro_utils.dokka
0.9.5
common
micro_utils.dokka
/
dev.inmo.micro_utils.coroutines
/
[common]invokeOnFirst
invoke
On
First
common
suspend
fun
<
T
,
O
>
Iterable
<
Deferred
<
T
>
>
.
invokeOnFirst
(
scope
:
CoroutineScope
,
cancelOnResult
:
Boolean
=
true
,
callback
:
suspend
(
T
)
->
O
)
:
O
Content copied to clipboard
suspend
fun
<
T
,
O
>
invokeOnFirst
(
scope
:
CoroutineScope
,
vararg
variants
:
Deferred
<
T
>
,
cancelOnResult
:
Boolean
=
true
,
callback
:
suspend
(
T
)
->
O
)
:
O
Content copied to clipboard